{extend name="base" /}
{block name="body"}
<!-- 主要内容 开始 -->
<div class="weui-tab__bd-item">
  <header class="weui-navBar weui-navBar-fixed">
    <a href="javascript:history.go(-1);" class="weui-navBar-item">
        <i class="icon iconfont icon-fanhui"></i>
    </a>
    <div class="weui-center">
        <span class="weui-center-title">账单</span>
    </div>
    <a href="javascript:;" class="weui-navBar-item actionsheet">
        <i class="icon iconfont icon-gengduo"></i>
    </a>
  </header>

  <div class="weui-tab">
    <div class="weui-navbar">
      <a class="weui-navbar__item weui-bar__item--on" href="#tab1">
        余额
      </a>
      <a class="weui-navbar__item" href="#tab2">
        积分
      </a>
      <a class="weui-navbar__item" href="#tab3">
        成长值
      </a>
    </div>
    <div class="weui-tab__bd">
      <div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
        <div class="weui_cells ">
          {volist name="$data" id="v" empty="$empty"}
          {if $v.money}
          <a class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
              <h3 class="weui_cell_title">{$v.change_desc|default=""}</h3>
              <div class="weui_cell_info">{$v.create_time|date="m月d日 H:i"}</div>
            </div>
            <div class="weui_cell_ft">
              <div class="weui_cell_title {if $v.money_type}f-red{else} f-green{/if}">{if $v.money_type}-{/if}￥{$v.money}</div>
              <div class="weui_cell_info">{if $v.change_type eq 1}管理员调节{elseif $v.change_type eq 2}转账{elseif $v.change_type eq 3}支付{elseif $v.change_type eq 4}提现{elseif $v.change_type eq 5}签到{else}其他{/if}</div>
            </div>
          </a>
          {/if}
          {/volist}
        </div>
      </div>
      <div id="tab2" class="weui-tab__bd-item">
        <div class="weui_cells ">
          {volist name="$data" id="v" empty="$empty"}
          {if $v.money}
          <a class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
              <h3 class="weui_cell_title">{$v.change_desc|default=""}</h3>
              <div class="weui_cell_info">{$v.create_time|date="m月d日 H:i"}</div>
            </div>
            <div class="weui_cell_ft">
              <div class="weui_cell_title {if $v.integral_type}f-red{else} f-green{/if}">{if $v.integral_type}-{/if}{$v.integral}</div>
              <div class="weui_cell_info">{if $v.change_type eq 1}管理员调节{elseif $v.change_type eq 2}转账{elseif $v.change_type eq 3}支付{elseif $v.change_type eq 4}提现{elseif $v.change_type eq 5}签到{else}其他{/if}</div>
            </div>
          </a>
          {/if}
          {/volist}
        </div>
      </div>
      <div id="tab3" class="weui-tab__bd-item">
        <div class="weui_cells ">
          {volist name="$data" id="v" empty="$empty"}
          {if $v.money}
          <a class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
              <h3 class="weui_cell_title">{$v.change_desc|default=""}</h3>
              <div class="weui_cell_info">{$v.create_time|date="m月d日 H:i"}</div>
            </div>
            <div class="weui_cell_ft">
              <div class="weui_cell_title {if $v.growth_type}f-red{else} f-green{/if}">{if $v.growth_type}-{/if}{$v.growth}</div>
              <div class="weui_cell_info">{if $v.change_type eq 1}管理员调节{elseif $v.change_type eq 2}转账{elseif $v.change_type eq 3}支付{elseif $v.change_type eq 4}提现{elseif $v.change_type eq 5}签到{else}其他{/if}</div>
            </div>
          </a>
          {/if}
          {/volist}
        </div>
      </div>
    </div>
  </div>
</div>
<!-- 主要内容 结束 -->
{/block}
{block name="js"}
<script type="text/javascript">
  $(function () {
    
  });
</script>
{/block}